<div class="hero-unit center">
	<div class="center">
		<input type="button" class="btn" id="preBtn" value="上一张"/>
		&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="button" class="btn" id="nextBtn" value="下一张"/>
	</div>
	<p class="center" align="center">共<?=$num?>张照片</p>
	<img id="show" align="center"/>
	<input id="count" type="hidden" value='<?=$num?>' />
	<?php
		$i=0;
		if($photo) foreach($photo as $image):?>
	<input id='photo<?=$i++?>' type='hidden' value='<?=$image ?>'/>
	<?php endforeach;?>
</div>